package edu.cmu.ece.ds.droidchat.message;

import java.io.Serializable;
import java.math.BigInteger;

/* Number 4
 * From: user that is being invited
 * To: init user
 * Purpose: response whether we will agree or not
 */

public class CreateSessionInvitationResponseMessage extends CreateSessionMessage implements
Serializable {

	private static final long serialVersionUID = -4722752785141784965L;
	/*public key that you want encrypted with the requester
	 *'s public key
	 * answer should be simply two possible numbers.
	 * one defined as agree, other defined as not.
	 */
	private String username;
	private int response;
	public CreateSessionInvitationResponseMessage(String chatSessionid,
			int response,String username){
		super(chatSessionid);
		this.response=response;
		this.username=username;
	}
	

	
	public int getResponse() {
		return response;
	}
	
	public String getUsername() {
		return username;
	}
	
}
